package com.aqie.seller.controller;

import java.io.UnsupportedEncodingException;

public class TestController {
    public static void main(String[] args) throws UnsupportedEncodingException {
        String a = new String("啊切");
        // String b = new String(a.getBytes("GBK"),"utf-8"); // ����
        String b = new String(a.getBytes("utf-8"),"GBK"); // 鍟婂垏
        System.out.println(b);
        b = "绯荤粺鎵句笉鍒版寚瀹氱殑璺 緞銆�";
        String c = new String(b.getBytes("GBK"),"utf-8");
        System.out.println(c);
    }
}
